package com.tang.service.admin.model.req;


import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.tang.common.model.req.ReqPage;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema
public class ReqSysMenuAdd extends ReqPage {


    @Schema(description = "父菜单id" )
    private Long pid;

    @Schema(description = "菜单名称" )
    private String menuName;

    @Schema(description = "菜单图标" )
    private String icon;

    @Schema(description = "前端组件地址" )
    private String componentPath;

    @Schema(description = "组件路由" )
    private String route;

    @Schema(description = "需要的权限" )
    private String authorize;

    @Schema(description = "菜单排序" )
    private Integer sort;

    @Schema(description = "状态")
    private Boolean status;

    @Schema(description = "隐藏菜单")
    private Boolean hideInMenu;


    @Schema(description = "是否是菜单")
    private Boolean menu;

    @Schema(description = "颜色")
    private String color;

}
